const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  userId: state => state.user.userId,
  username: state => state.user.username,
  nickname: state => state.user.nickname,
  mail: state => state.user.mail,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  clusterId: state => state.k8s.clusterId,
  clusterName: state => state.k8s.clusterName,
  clusterCode: state => state.k8s.clusterCode
}
export default getters
